#version 460 core

layout (location = 0) in vec3 aPosition;
out vec3 texCoords;

uniform mat4 projection;
uniform mat4 view;

void main()
{
    gl_Position =   projection * view * vec4(aPosition, 1.0);  
    gl_Position = gl_Position.xyww;
    texCoords = aPosition;
}